package org.forex.api.web.async;

import java.io.IOException;

import javax.servlet.AsyncContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public abstract class GetAsyncServlet extends AbstractAsyncServlet
{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4369096137239799531L;

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		AsyncContext asyncContext=createAsyncContext(req);		
		runAsync(AppManager.getAppContext(), asyncContext,(HttpServletRequest)asyncContext.getRequest(),(HttpServletResponse)asyncContext.getResponse());
	}
}
